<template>
  <div class="swiper-container" style="margin-top: 10px">
    <div class="block">
      <el-carousel trigger="click" height="180px">
        <el-carousel-item v-for="item,i in swiperList" :key="i">
          <el-image :src='item.url' style="height: 180px"></el-image>
        </el-carousel-item>
      </el-carousel>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      swiperList: [
        {url: require('@/assets/image/swiper1.jpg')},
        {url: require('@/assets/image/swiper2.jpg')},
        {url: require('@/assets/image/swiper3.jpg')},
      ]
    }
  }
}
</script>

<style scoped>
.el-image {
  border-radius: 5px;
}
</style>